﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class testTouch : MonoBehaviour {

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
        //多点触碰
        int count = Input.touchCount;
        //GameData.logger("-->" + count, 1);
        if (count == 1)
        {
            //GameData.logger("===->" + count, 1);
            //单点触碰
            if (Input.GetTouch(0).phase == TouchPhase.Began)
            {
                //GameData.logger("单点触碰", 1);
            }
        }
	}
}
